__main = function(){

    myUtils.lives = 1
    /*
    images = {
        bg : "img/bg.jpg",
        r1 : "img/run/1.png",
        r2 : "img/run/2.png",
        r3 : "img/run/3.png",
        r4 : "img/run/4.png",
        r5 : "img/run/5.png",
        r6 : "img/run/6.png",
        r7 : "img/run/7.png",
        r8 : "img/run/8.png",
        r9 : "img/run/9.png",
        r10 : "img/run/10.png",
        r11 : "img/run/11.png",
        r12 : "img/run/12.png",
        // 跳
        j1 : "img/jump/1.png",
        j2 : "img/jump/2.png",
        j3 : "img/jump/3.png",
        j4 : "img/jump/4.png",
        j5 : "img/jump/5.png",
        j6 : "img/jump/6.png",
        j7 : "img/jump/7.png",
        j8 : "img/jump/8.png",
        j9 : "img/jump/9.png",
        j10 : "img/jump/10.png",
        j11 : "img/jump/11.png",
        j12 : "img/jump/12.png",
        // 停
        s1 : "img/stop/1.png",
        s2 : "img/stop/2.png",
        s3 : "img/stop/3.png",
        s4 : "img/stop/4.png",
        s5 : "img/stop/5.png",
        s6 : "img/stop/6.png",

    }
    */
    images = {
        bg1: "img/kof/bg[1].png",
        bg2: "img/kof/bg[2].png",
        bg3: "img/kof/bg[3].png",
        bg4: "img/kof/bg[4].png",
        bg5: "img/kof/bg[5].png",
        bg6: "img/kof/bg[6].png",
        bg7: "img/kof/bg[7].png",
        bg8: "img/kof/bg[8].png",
        bg9: "img/kof/bg[9].png",
        bg10: "img/kof/bg[10].png",
        bg11: "img/kof/bg[11].png",
        bg12: "img/kof/bg[12].png",
        bg13: "img/kof/bg[13].png",
        bg14: "img/kof/bg[14].png",
        bg15: "img/kof/bg[15].png",
        bg16: "img/kof/bg[16].png",

        down1: "img/kof/down[1].png",
        down2: "img/kof/down[2].png",
        down3: "img/kof/down[3].png",
        down4: "img/kof/down[4].png",
        down5: "img/kof/down[5].png",
        down6: "img/kof/down[6].png",

        run1: "img/kof/run[1].png",
        run2: "img/kof/run[2].png",
        run3: "img/kof/run[3].png",
        run4: "img/kof/run[4].png",
        run5: "img/kof/run[5].png",
        run6: "img/kof/run[6].png",
        run7: "img/kof/run[7].png",
        run8: "img/kof/run[8].png",	
        
        stand1: "img/kof/stand[1].png",
        stand2: "img/kof/stand[2].png",
        stand3: "img/kof/stand[3].png",
        stand4: "img/kof/stand[4].png",
        stand5: "img/kof/stand[5].png",
        stand6: "img/kof/stand[6].png",
        stand7: "img/kof/stand[7].png",
        stand8: "img/kof/stand[8].png",	
        stand9: "img/kof/stand[9].png",	
    
        back1: "img/kof/back[1].png",
        back2: "img/kof/back[2].png",
        back3: "img/kof/back[3].png",
        back4: "img/kof/back[4].png",
        back5: "img/kof/back[5].png",
        back6: "img/kof/back[6].png",
        back7: "img/kof/back[7].png",
        back8: "img/kof/back[8].png",	
        back9: "img/kof/back[9].png",	
    
        forward1: "img/kof/forward[1].png",
        forward2: "img/kof/forward[2].png",
        forward3: "img/kof/forward[3].png",
        forward4: "img/kof/forward[4].png",
        forward5: "img/kof/forward[5].png",
        forward6: "img/kof/forward[6].png",
        forward7: "img/kof/forward[7].png",
        forward8: "img/kof/forward[8].png",	
        forward9: "img/kof/forward[9].png",	
        forward10: "img/kof/forward[10].png",	
        
        jump1: "img/kof/jump[1].png",
        jump2: "img/kof/jump[2].png",
        jump3: "img/kof/jump[3].png",
        jump4: "img/kof/jump[4].png",
        jump5: "img/kof/jump[5].png",
        jump6: "img/kof/jump[6].png",
        jump7: "img/kof/jump[7].png",
        jump8: "img/kof/jump[8].png",	
        jump9: "img/kof/jump[9].png",	
        jump10: "img/kof/jump[10].png",	
        jump11: "img/kof/jump[11].png",	
        jump12: "img/kof/jump[12].png",	
        jump13: "img/kof/jump[13].png",	
        
        jump_forward1: "img/kof/jump_forward[1].png",
        jump_forward2: "img/kof/jump_forward[2].png",
        jump_forward3: "img/kof/jump_forward[3].png",
        jump_forward4: "img/kof/jump_forward[4].png",
        jump_forward5: "img/kof/jump_forward[5].png",
        jump_forward6: "img/kof/jump_forward[6].png",
        jump_forward7: "img/kof/jump_forward[7].png",
        jump_forward8: "img/kof/jump_forward[8].png",	
        jump_forward9: "img/kof/jump_forward[9].png",	
        jump_forward10: "img/kof/jump_forward[10].png",	
        jump_forward11: "img/kof/jump_forward[11].png",	
        jump_forward12: "img/kof/jump_forward[12].png",	
        jump_forward13: "img/kof/jump_forward[13].png",	
        jump_forward14: "img/kof/jump_forward[14].png",	
        jump_forward15: "img/kof/jump_forward[15].png",	
        jump_forward16: "img/kof/jump_forward[16].png",	
        jump_forward17: "img/kof/jump_forward[17].png",
    }

    

    var game = Game.instance(images, function(){
        var scene = Scene.new(game)
        game.runWithScene(scene)
    })
    DebugMode(game, true)
}
__main()